/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ap.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 备用金Entity
 * @author sld
 * @version 2017-11-29
 */
public class Imprest extends DataEntity<Imprest> {
	
	private static final long serialVersionUID = 1L;
	private String applicationDivision;		// 申请部门1
	private String applicant;		// 申请人
	private Date applicationDate;		// 申请日期
	private Date receivedDate;		// 期望到账日期
	private String reason;		// 申请理由
	private String number;		// 备用金单据号
	private String totalMoney;		// 申请总金额
	private String money;		// 现金
	private String oilMoney;		// 加油卡金额
	private String documentStatus;		// 单据状态
	private String paymentMoney;		// 实付总金额
	private String accountMoney;		// 到账现金
	private String oilsMoney;		// 加油卡金额(到账)
	private String payer;		// 付款人
	private String recipient;		// 接收人
	private String projectName;  //项目名称
	private Date dzrq;   //到账日期
	private List<PaymentWay> paymentWayList = Lists.newArrayList();		// 子表列表
	private String minDate;   //开始日期
	private String max;  //截止日期
	private String dx;
	private String dzdx;

	public String getDx() {
		return dx;
	}

	public void setDx(String dx) {
		this.dx = dx;
	}

	public String getDzdx() {
		return dzdx;
	}

	public void setDzdx(String dzdx) {
		this.dzdx = dzdx;
	}

	public String getMinDate() {
		return minDate;
	}

	public void setMinDate(String minDate) {
		this.minDate = minDate;
	}

	public String getMax() {
		return max;
	}

	public void setMax(String max) {
		this.max = max;
	}

	@JsonFormat(pattern = "yyyy-MM-dd ")
	public Date getDzrq() {
		return dzrq;
	}

	public void setDzrq(Date dzrq) {
		this.dzrq = dzrq;
	}

	public Imprest() {
		super();
	}

	public Imprest(String id){
		super(id);
	}

	@ExcelField(title="申请部门", align=2, sort=6)
	public String getApplicationDivision() {
		return applicationDivision;
	}

	public void setApplicationDivision(String applicationDivision) {
		this.applicationDivision = applicationDivision;
	}
	
	@ExcelField(title="申请人", align=2, sort=7)
	public String getApplicant() {
		return applicant;
	}

	public void setApplicant(String applicant) {
		this.applicant = applicant;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd")
	@ExcelField(title="申请日期", align=2, sort=8)
	public Date getApplicationDate() {
		return applicationDate;
	}

	public void setApplicationDate(Date applicationDate) {
		this.applicationDate = applicationDate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd ")
	@ExcelField(title="期望到账日期", align=2, sort=9)
	public Date getReceivedDate() {
		return receivedDate;
	}

	public void setReceivedDate(Date receivedDate) {
		this.receivedDate = receivedDate;
	}
	
	@ExcelField(title="申请理由", align=2, sort=10)
	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}
	
	@ExcelField(title="备用金单据号", align=2, sort=11)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@ExcelField(title="申请总金额", align=2, sort=12)
	public String getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(String totalMoney) {
		this.totalMoney = totalMoney;
	}
	
	@ExcelField(title="现金", align=2, sort=13)
	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}
	
	@ExcelField(title="加油卡金额", align=2, sort=14)
	public String getOilMoney() {
		return oilMoney;
	}

	public void setOilMoney(String oilMoney) {
		this.oilMoney = oilMoney;
	}
	
	@ExcelField(title="单据状态", align=2, sort=15)
	public String getDocumentStatus() {
		return documentStatus;
	}

	public void setDocumentStatus(String documentStatus) {
		this.documentStatus = documentStatus;
	}
	
	@ExcelField(title="实付总金额", align=2, sort=16)
	public String getPaymentMoney() {
		return paymentMoney;
	}

	public void setPaymentMoney(String paymentMoney) {
		this.paymentMoney = paymentMoney;
	}
	
	@ExcelField(title="到账现金", align=2, sort=17)
	public String getAccountMoney() {
		return accountMoney;
	}

	public void setAccountMoney(String accountMoney) {
		this.accountMoney = accountMoney;
	}
	
	@ExcelField(title="加油卡金额(到账)", align=2, sort=18)
	public String getOilsMoney() {
		return oilsMoney;
	}

	public void setOilsMoney(String oilsMoney) {
		this.oilsMoney = oilsMoney;
	}
	
	@ExcelField(title="付款人", align=2, sort=19)
	public String getPayer() {
		return payer;
	}

	public void setPayer(String payer) {
		this.payer = payer;
	}
	
	@ExcelField(title="接收人", align=2, sort=20)
	public String getRecipient() {
		return recipient;
	}

	public void setRecipient(String recipient) {
		this.recipient = recipient;
	}

	@ExcelField(title="项目名称", align=2, sort=21)

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public List<PaymentWay> getPaymentWayList() {
		return paymentWayList;
	}

	public void setPaymentWayList(List<PaymentWay> paymentWayList) {
		this.paymentWayList = paymentWayList;
	}
}